Skip to content

Avoid using the newgrp command-line tool in the doc#25301

Open
linghengqian wants to merge 1 commit into
docker:mainfrom
linghengqian:patch-1
Open

Avoid using the newgrp command-line tool in the doc#25301
linghengqian wants to merge 1 commit into
docker:mainfrom
linghengqian:patch-1

Conversation

@linghengqian

Copy link
Copy Markdown

Description

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

@linghengqian linghengqian requested a review from dvdksn as a code owner June 7, 2026 08:19
@netlify

netlify Bot commented Jun 7, 2026

Copy link
Copy Markdown

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit ec3d9ee
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/6a255b73da7672000899f725
😎 Deploy Preview https://deploy-preview-25301--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added area/engine Issue affects Docker engine/daemon area/install Relates to installing a product labels Jun 7, 2026

```console
$ newgrp docker
$ sudo -u $USER bash

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing the newgrp dependency problem. Is sudo -u $USER bash known to refresh group membership like newgrp docker does, uniformly across distributions? Maybe it's worth clarifying this for users following the post-installation steps.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uniformly across distributions?

Yes.

Maybe it's worth clarifying this for users following the post-installation steps.

What are you talking about? Isn't this exactly what current PRs are doing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/engine Issue affects Docker engine/daemon area/install Relates to installing a product

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The documentation should prompt users to install util-linux-extra to use newgrp docker

2 participants